//package com.sky.web.other.controller;
//import java.util.List;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RestController;
//
//import com.sky.web.other.entity.Customer;
//import com.sky.web.other.service.CustomerService;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiImplicitParam;
//import io.swagger.annotations.ApiImplicitParams;
//import io.swagger.annotations.ApiOperation;
//
//
//
//@RestController
//@Api(description = "ribbon跨服务访问-客户")
//public class CustomerController {
//	@Autowired
//	private CustomerService customerService;
//	
//	@ApiOperation(value = "获取客户") 
//	@ApiImplicitParams({
//		@ApiImplicitParam(name = "id" , value = "id" , paramType = "query" , required = false ),
//		@ApiImplicitParam(name = "customerName" , value = "customerName" , paramType = "query" , required = false )
//	})
//	@RequestMapping(value="/getCustomer", method = RequestMethod.GET)
//	public List<Customer> getCustomer() {
//		System.out.println("服务之间ribbon+restTemplate调用======================");
//		return customerService.getCustomer();
//	}
//}
